package com.lyf.gateway.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Created by sneaker on 2017/4/23.
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel
@Data
public class CheckSignData {
    @ApiModelProperty("待签名url")
    private String url;
    @ApiModelProperty("签名内容")
    private String sign;
    @ApiModelProperty("appKey")
    private String appKey;
    @ApiModelProperty("待签名http method")
    private String httpMethod;
    @ApiModelProperty("待签名request parameter参数，map的json字符串")
    private String parameterData;
    @ApiModelProperty("待签名request body参数")
    private String contentData;
    @ApiModelProperty("待签名header参数,map的json字符串")
    private String headerData;
    @ApiModelProperty("待签名content-type参数")
    private String contentType;
    @ApiModelProperty("待验证时间戳")
    private Long timestamp;
    @ApiModelProperty("服务id")
    private String serviceId;

}
